package com.example.demo.controller;

/**
 * @Description
 * @Author fang yang
 * @Date 2025/5/28 16:33
 */
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class HomeController {
    @GetMapping("/")
    public String index() {
        return "redirect:/index.html"; // Redirect to static resource
    }
}